package org.jsrml.core.purchaser.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class WorkerStatus {
	
	/**
	 * 最后一次登录客户端时间
	 */
	@Column(name = "LAST_LOGIN_DATE", columnDefinition = M.DATE_COLUMN)
	private Date lastLoginDate;

	/**
	 * 最后一次登录客户端IP
	 */
	@Column(name = "LAST_LOGIN_IP", length = 32)
	private String lastLoginIP;
	
	/**
	 * 最后一次登录客户端类型
	 */
	@Column(name = "CLIENT_TYPE", length = 32)
	private String clientType;

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public String getLastLoginIP() {
		return lastLoginIP;
	}

	public void setLastLoginIP(String lastLoginIP) {
		this.lastLoginIP = lastLoginIP;
	}

	public String getClientType() {
		return clientType;
	}

	public void setClientType(String clientType) {
		this.clientType = clientType;
	}
	
}
